import { BrowserModule } from '@angular/platform-browser';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';

import {MatButtonModule, MatCheckboxModule, MatTableModule, MatIconModule, MatNavList} from '@angular/material';

import { AppComponent } from './app.component';
import { HoverComponent } from './hover/hover.component';

import { OverlayModule } from '@angular/cdk/overlay';
import { HoverDirective } from './hover.directive';
import { PortalModule } from '@angular/cdk/portal';


@NgModule({
  declarations: [
    AppComponent,
    HoverComponent,
    HoverDirective
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    MatButtonModule, 
    MatCheckboxModule,
    MatTableModule,
    MatIconModule,
    PortalModule
  ],
  entryComponents: [
    HoverComponent,
  ],
  exports: [OverlayModule],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
